<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>
<html>
<head>
<meta chartset="utf-8">
<title>现金流量预测模型</title>
<jsp:include page="../../common/jsp/sys.jsp"></jsp:include>

<style type="text/css">
* {
	margin: 0 auto;
	padding: 0px;
	font-family: "微软雅黑";
	background-image: none
}

#main {
	width: 1000px;
	height: 670px;
	margin: 0 auto;
	padding: 0px;
	margin-top: 10px;
	border: 1px solid #C2D4D8;
}

#up {
	width: 1000px;
	height: 490px;
	margin: 0 auto;
	padding: 0px;
	margin-top: 0px;
	border: 0px solid red;
}

#bottom {
	width: 1000px;
	height: 180px;
	margin: 0 auto;
	padding: 0px;
	margin-top: 0px;
	border: 0px solid red;
}

.bottom_ub {
	width: 100%;
	height: 50%;
	margin: 0 auto;
	padding: 0px;
	margin-top: 0px;
	border: 0px solid red;
}

.up_left {
	width: 34%;
	height: 100%;
	margin-top: 0px;
	border: 0px solid red;
}

.up_left_left {
	width: 49%;
	height: 468px;
	margin-top: 0px;
	border: 0px solid red;
}

.up_right {
	width: 666px;
	height: 100%;
	margin-top: 0px;
	border: 0px solid red;
}
.img {
	margin:0 auto;
	padding:0px;
    width: 70%;
    height:20px;

}
</style>
</head>
<body>
  <jsp:include page="../../common/jsp/common.jsp"></jsp:include>
	<div id="main" class="image_divss">
	

		<!-- <div class="top"></div> -->
         <div class="mainshell">现金流量预测模型</div>
		<div id="up">
			<div class="up_left" style="float: left;">
				<fieldset>
					<legend>
						<font color="green" size="2">经营活动</font>
					</legend>
					<div class="up_left_left" style="float: left;">
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>销售商品、提供劳务收到的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: -18px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="xsspinput" value="2,346.00">
							<div id="xsspId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>收到的税费返还</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: 0px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="sdsfinput" value="88.00">
							<div id="sdsfId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>收到其他与经营活动有关的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: -18px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="sdqtssinput" value="320.00">
							<div id="sdqtssId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
					</div>
					<div class="up_left_left" style="float: right;">
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>购买商品、接受劳务支付的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: -18px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="gmspinput" value="2,346.00">
							<div id="gmspId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>支付给职工以及职工支付的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: -18px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="zfzginput" value="2,346.00">
							<div id="zfzgId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>支付给其他与经营活动有关的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: -10px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="zfjyinput" value="2,346.00">
							<div id="zfjyId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>支付的各项税费</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: 0px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="zfdgxinput" value="2,346.00">
							<div id="zfdgxId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
					</div>
				</fieldset>
			</div>
			<div class="up_left" style="float: right;">
				<fieldset style="border-right-width:0px;">
					<legend>
						<font color="green" size="2">筹资活动</font>
					</legend>
					<div class="up_left_left" style="float: left;">
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>吸收投资收到的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: -0px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="xstzinput" value="2,346.00">
							<div id="xstzId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>取得借款收到的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: 0px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="qdjkinput" value="2,346.00">
							<div id="qdjkId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>收到其他与筹资活动有关的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: -18px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="sdczinput" value="2,346.00">
							<div id="sdczId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
					</div>
					<div class="up_left_left" style="float: right;">
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>偿还债务支付的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: 0px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="chzwinput" value="2,346.00">
							<div id="chzwId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>分配股利或偿付利息支付的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: -18px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="fpglinput" value="2,346.00">
							<div id="fpglId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>支付给其他与筹资活动有关的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: -12px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="zfczinput" value="2,346.00">
							<div id="zfczId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
					</div>
				</fieldset>
			</div>
			<div class="up_left" style="margin-left: 334px;">
				<fieldset>
					<legend>
						<font color="green" size="2">投资活动</font>
					</legend>
					<div class="up_left_left" style="float: left;">
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>收回投资收到的资金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: 0px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="shtzinput" value="2,346.00">
							<div id="shtzId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>取得投资收益收到的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: 0px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="qdtzinput" value="2,346.00">
							<div id="qdtzId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>处置各项资产收回的现金净额</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: -18px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="czzcinput" value="2,346.00">
							<div id="czzcId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>收到的其他与投资活动有关的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: -12px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="sdqtytzinput" value="2,346.00">
							<div id="sdqtytzId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
					</div>
					<div class="up_left_left" style="float: right;">
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>构建各项资产收到的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: 0px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="gjzcinput" value="2,346.00">
							<div id="gjzcId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>投资支付的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: 0px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="tzzfinput" value="2,346.00">
							<div id="tzzfId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
						<fieldset class=" x-fieldset x-fieldset-noborder" border="0px"
							style="width: 150px; height: 88px;">
							<legend>
								<font size="2"><b>支付其他与投资活动有关的现金</b></font>
							</legend>
							<input type="text"
								style="border: 0px; margin-top: -18px; margin-left: 40px; width: 92px; text-align: right; font-size: 12px; color: green;"
								id="zftzinput" value="2,346.00">
							<div id="zftzId"
								style="margin-top: 15px; width: 108px; height: 33px;"></div>
						</fieldset>
					</div>
				</fieldset>
			</div>
		</div>
		<div id="bottom">
			<div class="bottom_ub">
				<div class="up_left" style="float: left;">
					<div style="margin-left: 22%;">
						<fieldset class=" x-fieldset x-fieldset-noborder"
							style="display: block; width: 210px;">
							<legend
								class="x-fieldset-header x-fieldset-header-noborder x-unselectable">
								<span class="x-fieldset-header-text" id="ext-gen35"
									style="color: green;">
									<div class="title">经营活动产生的现金流量净额</div> <span id="jyhdspan"style="margin-left: 50%; text-align: right; color: green;">753.00</span>
								</span>
							</legend>
							<div class="x-fieldset-body x-fieldset-body-noborder"
								style="height: 25px; width: 210px;">
								<div class="x-progress-wrap" id="jyhdId" style="width: 160px;">
								</div>
							</div>
						</fieldset>
					</div>
				</div>
				<div class="up_left" style="float: right;">
				<div style="margin-left: 22%;">
						<fieldset class=" x-fieldset x-fieldset-noborder"
							style="display: block; width: 210px;">
							<legend
								class="x-fieldset-header x-fieldset-header-noborder x-unselectable">
								<span class="x-fieldset-header-text" id="ext-gen35"
									style="color: green;">
									<div class="title">筹资活动产生的现金流量净额</div> <span id="czhdspan"
									style="margin-left: 50%; text-align: right; color: green;">753.00</span>
								</span>
							</legend>
							<div class="x-fieldset-body x-fieldset-body-noborder"
								style="height: 25px; width: 210px;">
								<div class="x-progress-wrap" id="czhdId" style="width: 160px;">
								</div>
							</div>
						</fieldset>
					</div>
				</div>
				<div class="up_left" style="margin-left: 334px;">
				    <div style="margin-left: 22%;">
						<fieldset class=" x-fieldset x-fieldset-noborder"
							style="display: block; width: 210px;">
							<legend
								class="x-fieldset-header x-fieldset-header-noborder x-unselectable">
								<span class="x-fieldset-header-text" id="ext-gen35"
									style="color: green;">
									<div class="title">投资活动产生的现金流量净额</div> <span id="tzhdspan"
									style="margin-left: 50%; text-align: right; color: green;">753.00</span>
								</span>
							</legend>
							<div class="x-fieldset-body x-fieldset-body-noborder"
								style="height: 25px; width: 210px;">
								<div class="x-progress-wrap" id="tzhdId" style="width: 160px;">
								</div>
							</div>
						</fieldset>
					</div>
				</div>
			</div>
			 <div class="img"> 
			  	<img alt="" src="images/xjll.png" style="width:100%;height:100%;margin-top:-10px;">
			 </div> 
			<div class="bottom_ub">
				<div class="up_left" style="margin:0 auto;width:100%;text-align:center;">
				     <div class="title" style="margin-left:235px;float:left;color: #15428b;font: bold 11px tahoma, arial, helvetica, sans-serif;font-size:12px;text-indent:20px;">现金及现金等价物净增加值</div>
				     <div  style="margin-left:20px;height: 25px; width: 160px; float:left;"><div  id="xjjxId" style="width: 100%;"></div></div>
					<span id="xjjxspan"style="white-space:nowrap;margin-left: 15px; text-align: center; color: green;float:left;font: bold 11px tahoma, arial, helvetica, sans-serif;">753.00</span>
					  <div style="clear:both;"></div>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="js/test.js"></script>
<script type="text/javascript">
    
	var slider_array = ["xssp","sdsf","sdqtss","gmsp","zfzg","zfjy","shtz","qdtz","czzc","sdqtytz","gjzc","tzzf","zftz","xstz","qdjk","sdcz","chzw","fpgl","zfcz","zfdgx"],     
	    progress_array=["tzhd","czhd","xjjx","jyhd"];	
	
	Ext.onReady(function(){    	
	var industryParams1=[{"xjjx":"累计"}] ,str = Utils.getUtilBeanStr(industryParams1), url=Utils.getBasePathUrl() + "dashboard.cnbi";	 
		
	//index = slider_array.join()+","+progress_array.join(); industryParams:industryParams,
/*  var company={id:"GS000011",text:"集团总公司"}; */
	var params1 ={company:company["id"], index:slider_array.join()+","+progress_array.join(),query:11,unit :qj.unit,year :qj.year,month :qj.month};
	var bean = new Cnbi.model.cash_flow({
		slider_array:slider_array,
		progress_array:progress_array,
		industryParams1:industryParams1,
		params:params1,
		pro:{width:"100%"},
		sli:{width:"100%"},
		updateInput:'input',
		updateSpan:'span',
		companyName:company["text"]
	 }); 
	 Ext.select("#document").show();
});	  
</script>
</body>
</html>